//
//  FMDBSCDManager.h
//  NursingManage
//
//  Created by Zhen Huang on 17/5/15.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HSCDModel.h"
#import <FMDB.h>
@interface FMDBSCDManager : NSObject
@property (nonatomic,retain)FMDatabase *db;


//声明单例方法
+ (FMDBSCDManager *)sharedFMDBManeger;
//1.创建数据库
- (void)dataBase;

//2.创建表
- (void)createTable;
//3.添加数据
- (void)insertSCD:(HSCDModel *)HSCDModel;
//4.删除数据
- (void)deleteSCD:(HSCDModel *)HSCDModel;
//5.更新数据
- (void)updateSCD:(HSCDModel *)HSCDModel;
//6.查询数据
- (NSMutableArray *)allModel;

@end
